package com.example.auth.service;

import com.example.common.api.ResultUtil;
import com.nimbusds.jose.JOSEException;

import java.util.Map;
import java.util.concurrent.ExecutionException;

public interface IAuthService {

    /**
     * 生成token
     * */
    ResultUtil createToken(Map<String, String> params) throws JOSEException, ExecutionException, InterruptedException;
}
